from  flask import Blueprint,send_from_directory  #解决加载资源的问题
from application import app

rroute_static = Blueprint('static',__name__)
@rroute_static.route("/<path:filename>")
def index(filename):
    return send_from_directory( app.root_path + "/web/static",filename)